class Favorite {
  static mapping = {
    table 'yuying_favorite'
    content type: "text"
  }

  String title
  String sourceUrl
  String content
  Long collectCount
  Person creator
  Date dateCreated
  Date lastUpdated
  
  static constraints = {
    title(nullable: true)
    content(nullable:true)
    creator(nullable:true)
  }
}
